<!DOCTYPE html>
<html>

<head>
	<title>闲瓜市场 - 登录</title>
	<script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
	<link rel="stylesheet" type="text/css" href="{{url_for('static',filename='templates/login.css')}}" />
	<script src="{{url_for('static',filename='js/login.js')}}"></script>
</head>

<body style="background-color: lightgrey;">
	<nav class="nav">
		<div class="navHerf" id="toFrontPage"><a href="/">首页</a></div>
		<div class="navHerf" id="toLoginPage"><a href="/login">登录</a></div>
		<div class="navHerf" id="toRegPage"><a href="/register">注册</a></div>
		<div class="navHerf" id="toUploadPage"><a href="/upload_new">添加商品</a></div>
		<div class="navUser" id="curUser"><a href="/myinfo">未登录</a></div>
	</nav>
	
	<div class="main">
		<div id="loginBox">
			<div class="title">
				<h1>MelonMart<br>登录</h1>
			</div>
			<form id="Login-Info" method="post">
				<div class="inputItmes">
					<!-- <span>昵称：</span> -->
					<input class="textIn" type="text" name="name" placeholder="用户名">
				</div>
				<div class="inputItmes">
					<!-- <span>密码：</span> -->
					<input class="textIn" type="password" name="psw" placeholder="密码">
				</div>
				<div class="bnts">
					<input class="logBnt" type="button" value="登录" name="login" onclick="userLogin()">
					<input class="regBnt" type="button" value="注册" name="register" onclick="userRegister()">
				</div>
			</form>
		</div>
		
	</div>
</body>

</html>